package com.homedo.odin.solution.contract.personal.userhomepage;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: zhaoxudong
 * @date: 2018/3/6 17:08
 * @Description:
 */
@Data
@ApiModel(description = "用户信息")
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserInfoResp extends BaseResponse {

    @ApiModelProperty("用户ID")
    private Integer userId;
    @ApiModelProperty("用户头像")
    private String icon;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("地址")
    private String address;
    @ApiModelProperty("用户角色 0：普通用户 1：设计师 2：品牌主（认证品牌商）")
    private Integer role;
    @ApiModelProperty("主页图地址")
    private String banner;

    @ApiModelProperty("总积分")
    private Integer score;
    @ApiModelProperty("当前等级")
    private Integer level;
//    @ApiModelProperty("当前等级名称")
//    private String levelName;

    @ApiModelProperty("品牌主logo")
    private String firmIcon;
    @ApiModelProperty("品牌主联系人")
    private String contract;
    @ApiModelProperty("品牌主联系电话")
    private String contractMobile;

}
